projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b624c9
)
fix exit_code tests
author
Aleksey Kladov
<aleksey.kladov@gmail.com>
Sun, 15 May 2016 22:03:35 +0000
(
01:03
+0300)
committer
Aleksey Kladov
<aleksey.kladov@gmail.com>
Wed, 18 May 2016 22:42:29 +0000
(
01:42
+0300)
tests/test_cargo_run.rs
patch
|
blob
|
history
diff --git
a/tests/test_cargo_run.rs
b/tests/test_cargo_run.rs
index 39352b695f9c2a3b79f5b0b90ca7a39c00db1c72..8a3ab2b29b0049e361795e7a35a46280bc04beca 100644
(file)
--- a/
tests/test_cargo_run.rs
+++ b/
tests/test_cargo_run.rs
@@
-120,6
+120,8
@@
test!(exit_code {
assert_that(p.cargo_process("run"),
execs().with_status(2)
.with_stderr("\
+[COMPILING] foo v0.0.1 (file[..])
+[RUNNING] `target[..]`
[ERROR] Process didn't exit successfully: `target[..]foo[..]` (exit code: 2)
"));
});
@@
-139,6
+141,9
@@
test!(exit_code_verbose {
assert_that(p.cargo_process("run").arg("-v"),
execs().with_status(2)
.with_stderr("\
+[COMPILING] foo v0.0.1 (file[..])
+[RUNNING] `rustc [..]`
+[RUNNING] `target[..]`
[ERROR] Process didn't exit successfully: `target[..]foo[..]` (exit code: 2)
"));
});